Skip to content

Commit 55542ae

Browse files
committed
Add systemd unit files
1 parent e64f00d commit 55542ae

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

config/systemd/cms-logging.service

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Contest Management System Logging
3+
4+
[Service]
5+
Type=simple
6+
WorkingDirectory=@CMS_DIR@
7+
ExecStart=@CMS_DIR@/bin/cmsLogService
8+
9+
[Install]
10+
WantedBy=default.target

config/systemd/cms-ranking.service

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Contest Management System Ranking Service
3+
4+
[Service]
5+
Type=simple
6+
WorkingDirectory=@CMS_DIR@
7+
ExecStart=@CMS_DIR@/bin/cmsRankingWebServer
8+
9+
[Install]
10+
WantedBy=default.target

config/systemd/[email protected]

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Contest Management System (contest %i)
3+
4+
[Service]
5+
Type=simple
6+
WorkingDirectory=@CMS_DIR@
7+
ExecStart=@CMS_DIR@/bin/cmsResourceService -a %i
8+
9+
[Install]
10+
WantedBy=default.target

0 commit comments

Comments
 (0)