-
26th July 2016, 12:07 AM
#4
Re: Unmount pre-shutdown
Not sure about your problem, but there are couple of issues about your approach of solving it.
The predefined directory for administrator's unit files is /etc/systemd/system/, /usr/lib/systemd/ is reserved for packages. And there goes only systemd "units", not scripts - systemd does not run scripts directly. You can put your script in /usr/local/bin or similar and reference it from systemd unit file.
If you are talking about SysV service script you can put it in /etc/init.d and systemd will happily manage it as its own.
Similar Threads
-
By megat in forum Using Fedora
Replies: 5
Last Post: 19th November 2007, 12:00 PM
-
By MasterC in forum Using Fedora
Replies: 2
Last Post: 12th February 2007, 07:07 PM
-
By renjoyhenry in forum Using Fedora
Replies: 0
Last Post: 5th November 2006, 06:09 AM
-
By Gsundbrunn in forum Fedora Core 5 - Dev
Replies: 9
Last Post: 1st March 2006, 01:40 PM
-
By Trel in forum Using Fedora
Replies: 4
Last Post: 7th October 2004, 06:26 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]