9 lines
265 B
Text
9 lines
265 B
Text
|
[Unit]
|
||
|
Description=SnipeIt Auto Upgrade Service
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
WorkingDirectory=/opt/snipeit
|
||
|
User={{ ansible_user }}
|
||
|
Group={{ ansible_user }}
|
||
|
ExecStart=/bin/bash -c 'git pull && php composer.phar update --no-interaction && php upgrade.php --no-interactive'
|