Fix systemd stdout/stderr

This commit is contained in:
Kay0u 2020-12-10 13:46:39 +01:00
parent 96fbcdd8ff
commit cc0ac3c16a
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D

View File

@ -7,7 +7,9 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
ExecStart=__FINALPATH__/script
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
[Install]
WantedBy=multi-user.target