git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
very rough systemd services and script
[sfa.git]
/
systemd
/
sfa-db.service
1
[Unit]
2
Description=SFA Database service
3
#After=network.target
4
5
[Service]
6
Type=oneshot
7
ExecStart=/bin/bash -c "/usr/bin/sfa-db-init.sh"
8
RemainAfterExit=true
9
# systemd insists that we define this one
10
# that does not seem useful in our case
11
ExecStop=/bin/true
12
StandardOutput=journal
13
Requires=postgresql
14
After=postgresql
15
16
[Install]
17
WantedBy=multi-user.target