新增artifactory服务的service文件

This commit is contained in:
asahi
2024-07-22 22:49:37 +08:00
parent 4ae2c2bde8
commit 78ffb063b5
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
[Unit]
Description=Example Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=serviceuser
ExecStartPre=
ExecStart=/path/to/executable [options]
ExecStartPost=
ExecStop=
ExecReload=
[Install]
WantedBy=multi-user.target