Systemd file
parent
f71758edae
commit
05e68a8e59
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=am
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
Type=simple
|
||||
User=user
|
||||
WorkingDirectory=/home/user/server/
|
||||
ExecStart=/home/user/server/amserver -listen am.example.com:443
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
TimeoutStopSec=60
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Reference in New Issue