This commit is contained in:
oiseauroch 2022-11-29 17:13:50 +01:00
parent 6e6938f49a
commit a0ee0ec724

View File

@ -8,7 +8,7 @@ User=__APP__
Environment='RUST_LOG=garage=info' 'VIRTUALISATION=__VIRTUALISATION__' 'RUST_BACKTRACE=1'
ExecStartPre=+__FINALPATH__/mount_disk.sh
ExecStart=__FINALPATH__/garage -c __FINALPATH__/garage.toml server
ExecStopPost=+__FINALPATH__/umount_disk.sh __NBD_ID__
ExecStopPost=+__FINALPATH__/umount_disk.sh __NBD_INDEX__
WorkingDirectory=__FINALPATH__/
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit