summarylogtreecommitdiffstats
path: root/artifactory.service
blob: 16ee655b1cd88e5d82406f00171c064c63ed8f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Artifactory server
After=network.target

[Service]
Type=forking
ExecStart=/opt/artifactory/bin/artifactory.sh start
ExecStop=/opt/artifactory/bin/artifactory.sh stop
PIDFile=/opt/artifactory/run/artifactory.pid
Restart=no
TimeoutSec=30
RemainAfterExit=yes
User=artifactory

[Install]
WantedBy=multi-user.target