[systemd-devel] macros in systemd unit files question
Harald Hoyer
harald.hoyer at gmail.com
Thu Aug 1 04:11:22 PDT 2013
On 08/01/2013 12:53 PM, lux-integ wrote:
> On Wednesday 31 July 2013 14:36:25 Colin Guthrie wrote:
>> Mount units have to be named specially after their mount points, so be
>> careful there e.g. if the mount point is /mnt/mymountpoint then the unit
>> should be called mnt-mymountpoint.mount
>
> thanks for your reply
>
> Now I have an init script to translate to systemd with this:-
> /bin/echo "Remounting root file system in read-write mode..."
> /bin/mount -n -o remount,rw / >/dev/null
The root file system is already remounted according to /etc/fstab by systemd
itself. You don't have to convert that part to service files.
/lib/systemd/system/systemd-remount-fs.service
$ man systemd-remount-fs.service
More information about the systemd-devel
mailing list