mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 14:03:25 +02:00
20 lines
556 B
Desktop File
20 lines
556 B
Desktop File
[Unit]
|
|
Description=Domain Server service for Athena
|
|
After=network.target
|
|
PartOf=athena-server@%i.target
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
|
|
WorkingDirectory=/opt/athena
|
|
EnvironmentFile=/etc/opt/athena/%i.conf
|
|
Environment="LD_LIBRARY_PATH=/opt/athena/lib" "HOME=/var/lib/athena/%i"
|
|
PrivateTmp=true
|
|
User=athena
|
|
Group=athena
|
|
#LimitCORE=infinity
|
|
#ExecStartPre=/bin/bash -c 'if /usr/bin/pgrep -l domain-server; then /usr/bin/pkill -SIGKILL -f /usr/share/hifi/domain-server/domain-server; fi'
|
|
ExecStart=/opt/athena/domain-server
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|