mirror of
https://github.com/lxsang/ant-http
synced 2025-07-12 20:54:29 +02:00
add service file
This commit is contained in:
14
antd.service
Normal file
14
antd.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Antd Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/www
|
||||
ExecStart=ant-d
|
||||
Restart=always
|
||||
LimitNOFILE=65536
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user