Skip to content

Commit

Permalink
Added .service file for host.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Chapyshev committed Aug 27, 2023
1 parent a3fedf4 commit 820abad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions source/host/linux/aspia-host.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=Aspia Host
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
After=network-online.target network.service ntp.service
Conflicts=shutdown.target

[Service]
WorkingDirectory=/usr/bin
#EnvironmentFile=/usr/bin/env.sh
#Environment=SVC=aspia-host
Restart=always
ExecStart=/usr/bin/aspia_host
RestartSec=5000ms

[Install]
WantedBy=multi-user.target

0 comments on commit 820abad

Please sign in to comment.