Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lunar-linux/moonbase-other
Browse files Browse the repository at this point in the history
  • Loading branch information
florin65 committed Aug 1, 2012
2 parents 348c226 + a96d0fc commit 4a234c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions filesys/openafs/systemd.d/openafs-server.service
Expand Up @@ -3,6 +3,7 @@ Description=OpenAFS Server Service
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/sbin/bosserver
ExecStop=/usr/bin/bos shutdown localhost -wait -localauth

Expand Down
6 changes: 0 additions & 6 deletions net/open-iscsi/systemd.d/#open-iscsi.service#

This file was deleted.

13 changes: 13 additions & 0 deletions net/open-iscsi/systemd.d/open-iscsi.service
@@ -0,0 +1,13 @@
[Unit]
Description=Open-iscsi Service Daemon
After=network.target

[Service]
Type=forking
ExecStartPre=/sbin/modprobe -a libiscsi scsi_transport_iscsi iscsi_tcp
ExecStart=/sbin/iscsid -c /etc/iscsi/iscsid.conf -i /etc/iscsi/initiatorname.iscsi
ExecStartPost=/sbin/iscsiadm -m node -L automatic
ExecStopPre=/sbin/iscsiadm -m node -U all

[Install]
WantedBy=multi-user.target remote-fs.target

0 comments on commit 4a234c6

Please sign in to comment.